package com.vartom.lazy.unsafe;

/**
 *
 * @author lihuazeng
 */
public class UnsafeLazySingleton {
    private static UnsafeLazySingleton instance = null;
    private UnsafeLazySingleton() {
    }

    public static UnsafeLazySingleton newInstance(){
        if (instance == null){
            instance = new UnsafeLazySingleton();
        }
        return instance;
    }
}